package practice.annotaion.spring.entrance;

import org.springframework.stereotype.Component;

//자동으로  빈  등록
@Component("smsAlarmDevice")
public class AlarmDeviceSms implements AlarmDevice{
	@Override
	public  void  alarm(String  name)  {
	System.out.println(name +  "에서 침입 탐지");
	}
}
